package com.ruoyi.yijing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 书本内容对象 yj_book
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class YjBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer bookId;

    /** 书名 */
    @Excel(name = "书名")
    private String bookName;

    /** 封面 */
    @Excel(name = "封面")
    private String bookImage;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 数据状态(1有效，0无效) */
    @Excel(name = "数据状态(1有效，0无效)")
    private String dataStatus;

    /** 作者 */
    @Excel(name = "作者")
    private String auth;

    public void setBookId(Integer bookId) 
    {
        this.bookId = bookId;
    }

    public Integer getBookId() 
    {
        return bookId;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookImage(String bookImage) 
    {
        this.bookImage = bookImage;
    }

    public String getBookImage() 
    {
        return bookImage;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setDataStatus(String dataStatus) 
    {
        this.dataStatus = dataStatus;
    }

    public String getDataStatus() 
    {
        return dataStatus;
    }
    public void setAuth(String auth) 
    {
        this.auth = auth;
    }

    public String getAuth() 
    {
        return auth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("bookName", getBookName())
            .append("bookImage", getBookImage())
            .append("sort", getSort())
            .append("dataStatus", getDataStatus())
            .append("auth", getAuth())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
